package com.fifth.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 第五组
 * @since 2022-09-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("u_collection")
@ApiModel(value = "Collection对象", description = "")
public class Collection implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("用户id")
    private String uid;

    @ApiModelProperty("商家id")
    private String bid;

    @ApiModelProperty("商品id")
    private String goodsid;

    @ApiModelProperty("收藏类型 0商家 1商品")
    private Integer status;

    @ApiModelProperty("逻辑删除列")
    @TableLogic //标记该列为逻辑删除列
    private int isDeleted;

}
